package com.myclub.bl.common;

import javax.faces.context.FacesContext;
/*import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;*/

public class JsfContext {
	/*public static HttpServletRequest getRequest() {
		HttpServletRequest request = (HttpServletRequest) FacesContext
				.getCurrentInstance().getExternalContext().getRequest();
		return request;
	}

	public static HttpSession getSession() {
		HttpSession session = (HttpSession) FacesContext.getCurrentInstance()
				.getExternalContext().getSession(true);
		return session;
	}

	public static HttpServletResponse getResponse() {
		HttpServletResponse response = (HttpServletResponse) FacesContext
				.getCurrentInstance().getExternalContext().getResponse();
		return response;
	}
*/
	public static void responseComplete() {
		FacesContext.getCurrentInstance().responseComplete();
	}
}
